//
//  QDStringHelper.h
//  QDMetroClient
//
//  Created by YueWen on 2019/2/27.
//  Copyright © 2019 YueWen. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface QDStringHelper : NSObject

/// 手机字符串
+ (NSString *)phoneString:(NSString *)text;

/// 用于处理逻辑
+ (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string complete:(void(^)(void))complete;

/// 用于去空格
+ (NSString *)transToPhoneString:(NSMutableString *)phoneString;

@end

NS_ASSUME_NONNULL_END
